home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / utilities / text / less-278.lha / less-278 / src.lha / source / defines.h.in < prev    next >
Encoding:
Text File  |  1995-01-04  |  6.4 KB  |  259 lines

  1. /* defines.h.in.  Generated automatically from configure.in by autoheader.  */
  2. /* Unix definition file for less.  -*- C -*-
  3.  *
  4.  * This file has 3 sections:
  5.  * User preferences.
  6.  * Settings always true on Unix.
  7.  * Settings automatically determined by configure.
  8.  *
  9.  * * * * * *  WARNING  * * * * * *
  10.  * If you edit defines.h by hand, do "touch stamp-h" before you run make
  11.  * so config.status doesn't overwrite your changes.
  12.  */
  13.  
  14. /* User preferences.  */
  15.  
  16. /*
  17.  * SECURE is 1 if you wish to disable a bunch of features in order to
  18.  * be safe to run by unprivileged users.
  19.  */
  20. #define    SECURE        0
  21.  
  22. /*
  23.  * SHELL_ESCAPE is 1 if you wish to allow shell escapes.
  24.  * (This is possible only if your system supplies the system() function.)
  25.  */
  26. #define    SHELL_ESCAPE    (!SECURE)
  27.  
  28. /*
  29.  * EXAMINE is 1 if you wish to allow examining files by name from within less.
  30.  */
  31. #define    EXAMINE        (!SECURE)
  32.  
  33. /*
  34.  * TAB_COMPLETE_FILENAME is 1 if you wish to allow the TAB key
  35.  * to complete filenames at prompts.
  36.  */
  37. #define    TAB_COMPLETE_FILENAME    (!SECURE)
  38.  
  39. /*
  40.  * CMD_HISTORY is 1 if you wish to allow keys to cycle through
  41.  * previous commands at prompts.
  42.  */
  43. #define    CMD_HISTORY    1
  44.  
  45. /*
  46.  * HILITE_SEARCH is 1 if you wish to have search targets to be 
  47.  * displayed in standout mode.
  48.  */
  49. #define    HILITE_SEARCH    1
  50.  
  51. /*
  52.  * EDITOR is 1 if you wish to allow editor invocation (the "v" command).
  53.  * (This is possible only if your system supplies the system() function.)
  54.  * EDIT_PGM is the name of the (default) editor to be invoked.
  55.  */
  56. #define    EDITOR        (!SECURE)
  57. #define    EDIT_PGM    "vi"
  58.  
  59. /*
  60.  * TAGS is 1 if you wish to support tag files.
  61.  */
  62. #define    TAGS        (!SECURE)
  63.  
  64. /*
  65.  * USERFILE is 1 if you wish to allow a .less file to specify 
  66.  * user-defined key bindings.
  67.  */
  68. #define    USERFILE    (!SECURE)
  69.  
  70. /*
  71.  * GLOB is 1 if you wish to have shell metacharacters expanded in filenames.
  72.  * This will generally work if your system provides the "popen" function
  73.  * and the "echo" shell command.
  74.  */
  75. #define    GLOB        (!SECURE)
  76.  
  77. /*
  78.  * PIPEC is 1 if you wish to have the "|" command
  79.  * which allows the user to pipe data into a shell command.
  80.  */
  81. #define    PIPEC        (!SECURE)
  82.  
  83. /*
  84.  * LOGFILE is 1 if you wish to allow the -l option (to create log files).
  85.  */
  86. #define    LOGFILE        (!SECURE)
  87.  
  88. /*
  89.  * ONLY_RETURN is 1 if you want RETURN to be the only input which
  90.  * will continue past an error message.
  91.  * Otherwise, any key will continue past an error message.
  92.  */
  93. #define    ONLY_RETURN    0
  94.  
  95. /*
  96.  * LESSKEYFILE is the filename of the default lesskey output file 
  97.  * (in the HOME directory).
  98.  * DEF_LESSKEYINFILE is the filename of the default lesskey input 
  99.  * (in the HOME directory).
  100.  */
  101. #define    LESSKEYFILE        ".less"
  102. #define    DEF_LESSKEYINFILE    ".lesskey"
  103.  
  104.  
  105. /* Settings always true on Unix.  */
  106.  
  107. /*
  108.  * Define MSOFTC if compiling under Microsoft C.
  109.  */
  110. #define    MSOFTC    0
  111.  
  112. /*
  113.  * HAVE_SYS_TYPES_H is 1 if your system has <sys/types.h>.
  114.  */
  115. #define HAVE_SYS_TYPES_H    1
  116.  
  117. /*
  118.  * HAVE_STAT is 1 if your system has the stat() call.
  119.  */
  120. #define    HAVE_STAT    1
  121.  
  122. /*
  123.  * HAVE_PERROR is 1 if your system has the perror() call.
  124.  * (Actually, if it has sys_errlist, sys_nerr and errno.)
  125.  */
  126. #define    HAVE_PERROR    1
  127.  
  128. /*
  129.  * HAVE_TIME is 1 if your system has the time() call.
  130.  */
  131. #define    HAVE_TIME    1
  132.  
  133. /*
  134.  * HAVE_SHELL is 1 if your system supports a SHELL command interpreter.
  135.  */
  136. #define    HAVE_SHELL    1
  137.  
  138. /* Settings automatically determined by configure.  */
  139.  
  140. /* Define to `long' if <sys/types.h> doesn't define.  */
  141. #undef off_t
  142.  
  143. /* Define if you need to in order for stat and other things to work.  */
  144. #undef _POSIX_SOURCE
  145.  
  146. /* Define as the return type of signal handlers (int or void).  */
  147. #undef RETSIGTYPE
  148.  
  149. /* Define if you have the ANSI C header files.  */
  150. #undef STDC_HEADERS
  151.  
  152. /*
  153.  * Regular expression library.
  154.  * Define exactly one of the following to be 1:
  155.  * HAVE_POSIX_REGCOMP: POSIX regcomp() and regex.h
  156.  * HAVE_RE_COMP: BSD re_comp()
  157.  * HAVE_REGCMP: System V regcmp()
  158.  * HAVE_V8_REGCOMP: Henry Spencer V8 regcomp() and regexp.h
  159.  * NO_REGEX: pattern matching is supported, but without metacharacters.
  160.  */
  161. #undef HAVE_POSIX_REGCOMP
  162. #undef HAVE_RE_COMP
  163. #undef HAVE_REGCMP
  164. #undef HAVE_V8_REGCOMP
  165. #undef NO_REGEX
  166.  
  167. /* Define HAVE_VOID if your compiler supports the "void" type. */
  168. #undef HAVE_VOID
  169.  
  170. /* Define HAVE_TIME_T if your system supports the "time_t" type. */
  171. #undef HAVE_TIME_T
  172.  
  173. /* Define HAVE_STRERROR if you have the strerror() function. */
  174. #undef HAVE_STRERROR
  175.  
  176. /* Define HAVE_FILENO if you have the fileno() macro. */
  177. #undef HAVE_FILENO
  178.  
  179. /* Define HAVE_ERRNO if you have the errno variable */
  180. #undef HAVE_ERRNO
  181.  
  182. /* Define HAVE_SYS_ERRLIST if you have the sys_errlist[] variable */
  183. #undef HAVE_SYS_ERRLIST
  184.  
  185. /* Define HAVE_OSPEED if your termcap library has the ospeed variable */
  186. #undef HAVE_OSPEED
  187. /* Define MUST_DEFINE_OSPEED if you have ospeed but it is not defined
  188.  * in termcap.h. */
  189. #undef MUST_DEFINE_OSPEED
  190.  
  191. /* Define HAVE_LOCALE if you have locale.h and setlocale. */
  192. #undef HAVE_LOCALE
  193.  
  194. /* Define HAVE_TERMIOS_FUNCS if you have tcgetattr/tcsetattr */
  195. #undef HAVE_TERMIOS_FUNCS
  196.  
  197. /* Define HAVE_UPPER_LOWER if you have isupper, islower, toupper, tolower */
  198. #undef HAVE_UPPER_LOWER
  199.  
  200. /* Define if you have the _setjmp function.  */
  201. #undef HAVE__SETJMP
  202.  
  203. /* Define if you have the memcpy function.  */
  204. #undef HAVE_MEMCPY
  205.  
  206. /* Define if you have the sigsetmask function.  */
  207. #undef HAVE_SIGSETMASK
  208.  
  209. /* Define if you have the strchr function.  */
  210. #undef HAVE_STRCHR
  211.  
  212. /* Define if you have the system function.  */
  213. #undef HAVE_SYSTEM
  214.  
  215. /* Define if you have the <ctype.h> header file.  */
  216. #undef HAVE_CTYPE_H
  217.  
  218. /* Define if you have the <errno.h> header file.  */
  219. #undef HAVE_ERRNO_H
  220.  
  221. /* Define if you have the <fcntl.h> header file.  */
  222. #undef HAVE_FCNTL_H
  223.  
  224. /* Define if you have the <stdio.h> header file.  */
  225. #undef HAVE_STDIO_H
  226.  
  227. /* Define if you have the <sys/ioctl.h> header file.  */
  228. #undef HAVE_SYS_IOCTL_H
  229.  
  230. /* Define if you have the <sys/ptem.h> header file.  */
  231. #undef HAVE_SYS_PTEM_H
  232.  
  233. /* Define if you have the <sys/stream.h> header file.  */
  234. #undef HAVE_SYS_STREAM_H
  235.  
  236. /* Define if you have the <termcap.h> header file.  */
  237. #undef HAVE_TERMCAP_H
  238.  
  239. /* Define if you have the <termio.h> header file.  */
  240. #undef HAVE_TERMIO_H
  241.  
  242. /* Define if you have the <termios.h> header file.  */
  243. #undef HAVE_TERMIOS_H
  244.  
  245. /* Define if you have the <time.h> header file.  */
  246. #undef HAVE_TIME_H
  247.  
  248. /* Define if you have the <unistd.h> header file.  */
  249. #undef HAVE_UNISTD_H
  250.  
  251. /* Define if you have the <values.h> header file.  */
  252. #undef HAVE_VALUES_H
  253.  
  254. /* Define if you have the gen library (-lgen).  */
  255. #undef HAVE_LIBGEN
  256.  
  257. /* Define if you have the intl library (-lintl).  */
  258. #undef HAVE_LIBINTL
  259.